@prefix iop: <https://w3id.org/iadopt/ont/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix ex: <http://example.org/iadopt/challenge/> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
@prefix uom: <http://www.ontology-of-units-of-measure.org/resource/om-2/> .
@prefix iopp: <https://w3id.org/iadopt/pattern/> .
@prefix patt: <http://example.org/iadopt/pattern> .

ex:NumChild
    a 
        iop:Variable ;
    rdfs:label 
        "Number of children under the age of 10 years in a statistical unit" ;
    rdfs:comment 
        """number of children under the age of 10 years in a statistical unit which is defined as a grouping of homogeneous neighboring building blocks in an urban area""" ;
    ex:issue "https://github.com/mabablue/I-ADOPT-examples-playground/issues/91" ;
    iop:hasObjectOfInterest 
        <https://www.wikidata.org/entity/Q215627> ;
    iop:hasContextObject 
        <https://www.wikidata.org/entity/Q702492> ;
    iop:hasProperty 
        <http://qudt.org/vocab/quantitykind/Count> ;
    iop:hasConstraint 
        [ a iop:Constraint ;
             rdfs:label "age: < 10 years" ;
             iop:constrains <https://www.wikidata.org/entity/Q215627> ;
        ] ,
        [ a iop:Constraint ;
             rdfs:label "normalization: per statistical unit" ;
             iop:constrains <http://qudt.org/vocab/quantitykind/Count> ;
        ] ,
        [ a iop:Constraint ;
             rdfs:label "condition: registered as resident" ;
             iop:constrains <https://www.wikidata.org/entity/Q215627> ;
        ] .

<https://www.wikidata.org/entity/Q215627>
    a 
        iop:Entity ;
    rdfs:label 
        "person" .

<http://qudt.org/vocab/quantitykind/Count>
    a 
        iop:Property ;
    rdfs:label 
        "count" .

<https://www.wikidata.org/entity/Q702492>
    a 
        iop:Entity ;
    rdfs:label 
        "urban area" .
